From: Florian Müllner Date: Tue, 4 Sep 2018 15:35:39 +0000 (+0200) Subject: layout: Don't update input region on wayland X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~929^2^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=586a9ff9cdf044bc7555bfeba36e561470a9eaef;p=gnome-shell.git layout: Don't update input region on wayland We already see all events on wayland, so we can save us the work of computing the XFixes region there. https://gitlab.gnome.org/GNOME/gnome-shell/issues/273 --- diff --git a/js/ui/layout.js b/js/ui/layout.js index 7a3cb227d..039cc4301 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -1059,7 +1059,8 @@ var LayoutManager = new Lang.Class({ } } - global.set_stage_input_region(rects); + if (!Meta.is_wayland_compositor()) + global.set_stage_input_region(rects); this._isPopupWindowVisible = isPopupMenuVisible; let workspaceManager = global.workspace_manager;